package Work0511;

public class DriverCar {
	private int seat;
	private double displacement;

	public DriverCar(int seat, double displacement) {
		this.seat = seat;
		this.displacement = displacement;
	}

	public int getSeat() {
		return seat;
	}

	public double getDisplacement() {
		return displacement;
	}

	public String start() {
		return "启动";
	}

	public String brake() {
		return "刹车";
	}
}
